<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #left {
      background-color: aqua;
      height: 500px;
      width: 300px;
      position: absolute;
      left: 0;
      
    }

    #right {
      background-color: bisque;
      height: 500px;
      width: 300px;
      position: absolute;
      right: 0;

    }

    #center {
      background-color: brown;
      margin-left:  310px; ;
      margin-right: 310px;
      height: 500px;



    }
  </style>
</head>

<body>
  <div id="left"></div>
  <div id="right"></div>
  <div id="center"></div>
</body>

</html>